package com.kyrioscraft.cloud.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(value = "rest-api",fallback = TestFailback.class)
public interface FeignRequestServcie {

    @RequestMapping(value = "/test",method = RequestMethod.GET)
    List<String> getLst();
}
